package com.pig4cloud.pigx.strategy.dto;

import com.pig4cloud.pigx.strategy.bo.StrategyContractOrderParam;
import lombok.Data;

/**
 * 同步止盈止损委托DTO
 *
 * @since 2022/11/29 17:16
 */
@Data
public class StrategySyncStopOrderMsgDTO extends StrategyContractOrderParam {

    private static final long serialVersionUID = 1L;

    /**
     * 外部id
     */
    private Long externalId;

    /**
     * 订单id
     */
    private Long stopOrderId;

    /**
     * 策略id
     */
    private Long strategyId;

    /**
     * 开关id
     */
    private Long switchId;

    /**
     * 任务id
     */
    private Long taskId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 单向/双向（0单向、1双向）
     */
    private String sideType;
}
